<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Sets the animation's frame rate</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfmovie.setframes.html">SWFMovie::setFrames</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfmovie.startsound.html">SWFMovie::startSound</a></div>
 <div class="up"><a href="class.swfmovie.html">SWFMovie</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="swfmovie.setrate" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFMovie::setRate</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.3)</p><p class="refpurpose"><span class="refname">SWFMovie::setRate</span> &mdash; <span class="dc-title">Sets the animation&#039;s frame rate</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swfmovie.setrate-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SWFMovie::setRate</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$rate</code></span>
   )</div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
  <p class="para">
   Sets the frame rate to the specified <em><code class="parameter">rate</code></em>. 
  </p>
  <p class="para">
   Animation will slow down if the player can&#039;t render frames fast enough- 
   unless there&#039;s a streaming sound, in which case display frames are 
   sacrificed to keep sound from skipping. 
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-swfmovie.setrate-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">rate</code></em></dt>

     <dd>

      <p class="para">
       The frame rate, in frame per seconds.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swfmovie.setrate-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfmovie.setframes.html">SWFMovie::setFrames</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfmovie.startsound.html">SWFMovie::startSound</a></div>
 <div class="up"><a href="class.swfmovie.html">SWFMovie</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
